﻿using System.Collections;
using System.Collections.Generic;
using Pathfinding;
using UnityEngine;

public class DebugCtrlTargetPos : MonoBehaviour
{
    public List<RichAI> RichAis;
    
    public void Update () {

        if (Input.GetKeyDown(KeyCode.Space))
        {
            foreach (var richAi in RichAis)
            {
                richAi.destination = transform.position;
            }
        }
    }
}
